import request from '@/utils/request'

export default {

  list() {
    return request({
      url: `/main/room-reservation/list`,
      method: 'get'
    })
  },

  getByReservationId(reservationId){
    return request({
      url: `/main/credentials/getByReservationId/${reservationId}`,
      method: 'get'
    })
  },
  check(check){
    return request({
      url: `/main/credentials/check`,
      method: 'post',
      data: check
    })
  },

}

